-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed css class not being used by slice container #1359
Conversation
@@ -2,6 +2,7 @@ import React, { PropTypes } from 'react'; | |||
import { connect } from 'react-redux'; | |||
import { Panel } from 'react-bootstrap'; | |||
import visMap from '../../../visualizations/main'; | |||
require('../../../visualizations/directed_force.css'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we include this css only in the visualization files that need it rather than in this component?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turned out this line does not need to be used at all when className is specified :)
Deleted it!
LGTM |
The className was not specified in slice container earlier, causing specific viz css files not being used.
Before:
After:
Before:
After:
Before:
After:
@ascott